package com.tang.service.impl;

import com.tang.mapper.UserMapper;
import com.tang.pojo.User;
import com.tang.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author Tom
 * @ClassName UserServiceImpl
 * @Date 2022/6/18 14:15
 */
@Service
public class UserServiceImpl implements UserService {
 @Autowired
 private UserMapper userMapper;
 @Override
 public int addUser(User user) {
  return userMapper.addUser(user);
 }
}
    